import Vue from 'vue'
import Router from 'vue-router'
import List from '@/comp/List'
import Detail from "@/comp/Detail"
import Todo from '@/components/Todo'
import List1 from '@/components/List1'

Vue.use(Router)

export default new Router({
  model:"history",
  routes: [
    // {
    //   path: '/',
    //   name: 'Todo',
    //   component: Todo
    // },
    {
      path: '/',
      name: 'List',
      component: List
    },
    // {
    //   path: '/List1',
    //   name: 'List1',
    //   component: List1
    // },
    {
      path: '/Detail/:sid',
      name: 'Detail',
      component: Detail
    },
  ]
})
